/*
 * @Author: 0x9DEFA478
 * @Date: 2021-07-30 17:47:06
 * @LastEditTime: 2022-01-21 23:41:00
 * @LastEditors: 0x9DEFA478
 * @Description: 
 * QQ:2652450237
 * ============================================================================================================================================
 * 
 * 
 * 
 *                                                                                               ************      ****************************
 *                                                                                             ************      ****************************  
 *                                                                                           ************      ****************************    
 *                                                                                         ************      ****************************      
 *                                                                                       ************      ************                        
 *                                                                                     ************      ************                          
 *                                                                                   ************      ************                            
 *                                                                                 ************      ************                              
 *                                                                               ************      ************                                
 *                                                                             ************      ************                                  
 *                                                                           ************      ************                                    
 *                                                                         ************      ************                                      
 *                                                                       ************      ************                                        
 *                                                                     ************      ************                                          
 *                                                                   ************      ************                                            
 *                                                                 ************      ************                                              
 *                                                               ************      ************                                                
 *                                                             ************      ************                                                  
 *                                                           ************      ************                                                    
 *                                                         ************      ************                                                      
 *                                                       ************      ************                                                        
 *                                                     ************      ************                                                          
 *                                                   ************      ************                                                            
 *                                                 ************      ************                                                              
 *                                               ************      ************                                                                
 *                                             ************      ************                                                                  
 *                                           ************      ************                                                                    
 *                                         ************      ************                                                                      
 *                                       ************      ************                                                                        
 *                                     ************      ************                                                                          
 *                                   ************      ************                                                                            
 *                                 ************      ************                                                                              
 *                               ************      ************                                                                                
 *                             ************      ************                                                                                  
 *                           ************      ************                                                                                    
 *                         ************      ************                                                                                      
 *       ****************************      ************                                                                                        
 *     ****************************      ************                                                                                          
 *   ****************************      ************                                                                                            
 * ****************************      ************                                                                                              
 * 
 * 
 * 
 * ============================================================================================================================================
 * 
 */
#ifndef __Peripherals_Instence_H_
#define __Peripherals_Instence_H_
#include "H_ThreadScheduler.h"
#include "IP_MDMA.h"
#include "IP_DMA.h"
#include "IP_DMA2D.h"
#include "IP_ADC.h"
#include "IP_USART.h"
#include "IP_SPI.h"
#include "IP_SAI.h"


extern H_TS_Lock* ip_rcc_Lock;

extern IP_MDMA_Golbal* ip_mdma_golbal;

extern H_TS_Lock* ip_dma2d_Lock;
extern IP_DMA2D* ip_dma2d;

extern H_TS_Lock* ip_adc3_Lock;
extern IP_ADC* ip_adc3;

extern H_TS_Lock* ip_usart1_Lock;
extern IP_USART* ip_usart1;
extern IP_DMA* ip_usart1_txdma;
extern IP_DMA* ip_usart1_rxdma;

extern H_TS_Lock* ip_spi4_Lock;
extern IP_SPI* ip_spi4;
extern IP_DMA* ip_spi4_txdma;
extern IP_DMA* ip_spi4_rxdma;

extern H_TS_Lock* ip_spi1_Lock;
extern IP_SPI* ip_spi1;
extern IP_DMA* ip_spi1_txdma;

extern H_TS_Lock* ip_sai2_b_Lock;
extern IP_SAI_Block* ip_sai2_b;
extern IP_DMA* ip_sai2_b_dma;




/**
 * @brief 初始化外设实例的锁
 * @return 无
 */
void Peripherals_Instence_LockInit(void);


#endif //__Peripherals_Instence_H_
